package com.order.exception;

import lombok.Data;

@Data
public class ServiceException extends RuntimeException{
    public String code;
    public ServiceException(String msg){
        super(msg);
        this.code="500";
    }
    public ServiceException(String code, String msg){
        super(msg);
        this.code = code;
    }
}
